<?php

class SectionFormForBackend extends SectionForm {
	public function configure(){
		$this->useFields(array("name", "published", "url"));
		$this->setValidator('name', new sfValidatorString(array('min_length' => 1, 'required' => false)));

//		$this->setValidator("url", new sfValidatorUrl(array("protocols" => array("http", "https"), "max_length" => 255, "required" => false)));
	}

}
